﻿using System;
using System.Web.UI.WebControls;
using System.Web.UI;

namespace SystemX.WebControls
{
	/// <summary>
	/// Face book like list item selector(undone..)
	/// http://www.emposha.com/javascript/fcbklistselection-like-facebook-friends-selector.html
	/// TODO:implements DataBoundControl?Pagable with YPager?
	/// </summary>
	public class ItemSelector:WebControl
	{
		#region properties
		/// <summary>
		/// Height of item
		/// </summary>
		public double IHeight { get; set; }
		/// <summary>
		/// Width of item
		/// </summary>
		public double IWidth { get; set; }
		/// <summary>
		/// item numbers per row
		/// </summary>
		public int NPerRow { get; set; }
		#endregion

		#region base overrides
		protected override HtmlTextWriterTag TagKey
		{
			get
			{
				return HtmlTextWriterTag.Ul;
			}
		}
		#endregion
	}
}
